package com.hbplat.shardingsphere.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ExcelEntity implements Serializable {


	private String title;// 表头
	private String[] titleArr;// 表头
	private String fileName;// 文件名称

	private String filePath;

    private Map<Object, String> headMap = new HashMap<Object, String>();
    private List<Map<Object, String>> headList = new ArrayList<Map<Object, String>>();

    private List<String> titleList;


	public List<String> getTitleList() {
		return titleList;
	}

	public void setTitleList(List<String> titleList) {
		this.titleList = titleList;
	}

	public static String getPath(){
		//测试环境
		String os = System.getProperty("os.name").toLowerCase();
		if (os.startsWith("win")) {
			return "F:\\2345Downloads\\";
		}else {
			return "/home/nas/";
		}
	}

	public static String getPath2(){
		//测试环境
		String os = System.getProperty("os.name").toLowerCase();
		if (os.startsWith("win")) {
			return "F:\\projectfile";
		}else {
			return "/home/mnt/projectfile";
		}
	}

	public static String getPath3(){
		//测试环境
		String os = System.getProperty("os.name").toLowerCase();
		if (os.startsWith("win")) {
			return "F:\\qiegepdf";
		}else {
			return "/home/mnt/qiegepdf";
		}
	}
    
	public String getTitle() {
		return title;
	}

	public String[] getTitleArr() {
		return titleArr;
	}

	public void setTitleArr(String[] titleArr) {
		this.titleArr = titleArr;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public Map<Object, String> getHeadMap() {
		return headMap;
	}

	public void setHeadMap(Map<Object, String> headMap) {
		this.headMap = headMap;
	}

	public List<Map<Object, String>> getHeadList() {
		return headList;
	}

	public void setHeadList(List<Map<Object, String>> headList) {
		this.headList = headList;
	}


	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
}
